package com.sgb.kjwl.view.ui.adapter.packers;

import android.content.Context;

import com.sgb.kjwl.BR;
import com.sgb.kjwl.R;
import com.sgb.link.entity.AreaEntity;
import com.swgk.core.recyclerview.adapter.BaseRecycleAdapter;
import com.swgk.core.recyclerview.adapter.ItemViewHolder;

import java.util.List;

public class TypeChildAdapter extends BaseRecycleAdapter<AreaEntity> {


    public TypeChildAdapter(Context context, List<AreaEntity> datas) {
        super(context, R.layout.item_type_child, datas);
    }

    @Override
    public void convert(ItemViewHolder holder, final AreaEntity entity) {
        holder.setBinding(BR.viewModel, entity);
    }

}
